package com.jiliang.auth.dao.model;

import java.util.Date;

/**
 * 角色功能表
 *
 * @author LS
 * @date 2019/11/6
 */
public class AuthRoleFunc {
    /**
     * 主键id
     */
    private Long id;
    /**
     * 角色编码
     */
    private String roleCode;
    /**
     * 功能ID
     */
    private Long funcId;
    /**
     * 子系统编号
     */
    private Short subSystemId;
    /**
     * 系统编号
     */
    private Short systemId;
    /**
     * 数据备注
     */
    private String dataRemark;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 版本备注
     */
    private String versionRemark;
    /**
     * 版本号
     */
    private Date vno;
    /**
     * 是否可用
     */
    private Short isEnabled;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode == null ? null : roleCode.trim();
    }

    public Long getFuncId() {
        return funcId;
    }

    public void setFuncId(Long funcId) {
        this.funcId = funcId;
    }

    public Short getSubSystemId() {
        return subSystemId;
    }

    public void setSubSystemId(Short subSystemId) {
        this.subSystemId = subSystemId;
    }

    public Short getSystemId() {
        return systemId;
    }

    public void setSystemId(Short systemId) {
        this.systemId = systemId;
    }

    public String getDataRemark() {
        return dataRemark;
    }

    public void setDataRemark(String dataRemark) {
        this.dataRemark = dataRemark == null ? null : dataRemark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getVersionRemark() {
        return versionRemark;
    }

    public void setVersionRemark(String versionRemark) {
        this.versionRemark = versionRemark == null ? null : versionRemark.trim();
    }

    public Date getVno() {
        return vno;
    }

    public void setVno(Date vno) {
        this.vno = vno;
    }

    public Short getIsEnabled() {
        return isEnabled;
    }

    public void setIsEnabled(Short isEnabled) {
        this.isEnabled = isEnabled;
    }

    @Override
    public String toString() {
        return "AuthRoleFunc{" +
                "id=" + id +
                ", roleCode='" + roleCode + '\'' +
                ", funcId=" + funcId +
                ", subSystemId=" + subSystemId +
                ", systemId=" + systemId +
                ", dataRemark='" + dataRemark + '\'' +
                ", createTime=" + createTime +
                ", versionRemark='" + versionRemark + '\'' +
                ", vno=" + vno +
                ", isEnabled=" + isEnabled +
                '}';
    }
}
